﻿using System;

namespace HumanManagement.BusinessObjects
{
	public class DocumentItem
	{
		#region ***** Fields & Properties ***** 
		private int _ID;
		public int ID
		{ 
			get 
			{ 
				return _ID;
			}
			set 
			{ 
				_ID = value;
			}
		}
		private int _DocumentID;
		public int DocumentID
		{ 
			get 
			{ 
				return _DocumentID;
			}
			set 
			{ 
				_DocumentID = value;
			}
		}
		private int _DocumentItemCategoryID;
		public int DocumentItemCategoryID
		{ 
			get 
			{ 
				return _DocumentItemCategoryID;
			}
			set 
			{ 
				_DocumentItemCategoryID = value;
			}
		}
		private int _Volume;
		public int Volume
		{ 
			get 
			{ 
				return _Volume;
			}
			set 
			{ 
				_Volume = value;
			}
		}
		private DateTime _LastDate;
		public DateTime LastDate
		{ 
			get 
			{ 
				return _LastDate;
			}
			set 
			{ 
				_LastDate = value;
			}
		}
		private int _LastMakerID;
		public int LastMakerID
		{ 
			get 
			{ 
				return _LastMakerID;
			}
			set 
			{ 
				_LastMakerID = value;
			}
		}
		private int _LastApproverID;
		public int LastApproverID
		{ 
			get 
			{ 
				return _LastApproverID;
			}
			set 
			{ 
				_LastApproverID = value;
			}
		}
		private string _DocumentItemStatus;
		public string DocumentItemStatus
		{ 
			get 
			{ 
				return _DocumentItemStatus;
			}
			set 
			{ 
				_DocumentItemStatus = value;
			}
		}
		#endregion

		#region ***** Init Methods ***** 
		public DocumentItem()
		{
		}
		public DocumentItem(int id)
		{
			this.ID = id;
		}
		public DocumentItem(int id, int documentid, int documentitemcategoryid, int volume, DateTime lastdate, int lastmakerid, int lastapproverid, string documentitemstatus)
		{
			this.ID = id;
			this.DocumentID = documentid;
			this.DocumentItemCategoryID = documentitemcategoryid;
			this.Volume = volume;
			this.LastDate = lastdate;
			this.LastMakerID = lastmakerid;
			this.LastApproverID = lastapproverid;
			this.DocumentItemStatus = documentitemstatus;
		}
		#endregion
	}
}
